﻿@model _1._7._2015_EF_Movies.Models.MovieViewModel
@{
    ViewBag.Title = "Detail";
}

<h2>@Model.Title</h2>

<div class="row">
    <div class="col-md-12">
        <table class="table teable-striped table-bordered">
            <tr>
                <th></th>
                <th>Movie</th>
                <th>Movie Rating</th>
                <th>Description</th>
                <th></th>
                <th></th>
            </tr>

            <tr>
                <td><img src=@Model.PosterUrl width=70 height=70 /></td>
                <td>@Model.Title</td>
                <td>@Model.Rating</td>
                <td>@Model.Description</td>
                <td>@(Html.ActionLink("Edit Movie", "Update", new { Id = Model.MovieId }))</td>
                <td>@(Html.ActionLink("Delete Movie", "Delete", new { Id = Model.MovieId }))</td>
            </tr>


        </table>

    </div>


</div>

